import {
  axios
} from '@/utils/request'

// 编辑条款
function editTerms (data) {
  return axios({
    url: '/user-service/clause',
    method: 'put',
    data
  })
}

// 条款信息
function termsInfor (params) {
  return axios({
    url: '/user-service/clause/info',
    method: 'get',
    params
  })
}
export default {
  editTerms,
  termsInfor
}
